package com.insis.entity;

import java.util.Date;

public class TrainEntity {

	private Integer id;
	
	private String carName;
	
	private Double longitude;
	
	private String latitude;
	
	private Date time;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCarName() {
		return carName;
	}

	public void setCarName(String carName) {
		this.carName = carName;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "TrainEntity [id=" + id + ", carName=" + carName + ", longitude=" + longitude + ", latitude=" + latitude
				+ ", time=" + time + "]";
	}
	
}
